[INFO] cloning repository https://github.com/Pranz/rust-tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pranz/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranz%2Frust-tetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranz%2Frust-tetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e38191e98c107e5191b38e7fd545caa2a1ce73d1
[INFO] checking Pranz/rust-tetris against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranz%2Frust-tetris" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Pranz/rust-tetris on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Pranz/rust-tetris
[INFO] finished tweaking git repo https://github.com/Pranz/rust-tetris
[INFO] tweaked toml for git repo https://github.com/Pranz/rust-tetris written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Pranz/rust-tetris already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 91f7b15f72b15e0411508a2a4abd27b45653d791b17ff7a4fef6c0b60c6525ee
[INFO] running `Command { std: "docker" "start" "-a" "91f7b15f72b15e0411508a2a4abd27b45653d791b17ff7a4fef6c0b60c6525ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91f7b15f72b15e0411508a2a4abd27b45653d791b17ff7a4fef6c0b60c6525ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91f7b15f72b15e0411508a2a4abd27b45653d791b17ff7a4fef6c0b60c6525ee", kill_on_drop: false }`
[INFO] [stdout] 91f7b15f72b15e0411508a2a4abd27b45653d791b17ff7a4fef6c0b60c6525ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ea871d1c2f26feeb7b523b2239231e43bbe554aba5e0b3dbb02bd79359a451b
[INFO] running `Command { std: "docker" "start" "-a" "1ea871d1c2f26feeb7b523b2239231e43bbe554aba5e0b3dbb02bd79359a451b", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.10
[INFO] [stderr]     Checking rustc-serialize v0.3.19
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking num-traits v0.1.32
[INFO] [stderr]    Compiling gcc v0.3.27
[INFO] [stderr]     Checking piston-float v0.2.0
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking winapi v0.2.6
[INFO] [stderr]    Compiling pkg-config v0.3.8
[INFO] [stderr]     Checking piston-viewport v0.2.0
[INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.19/src/serialize.rs:147:45
[INFO] [stdout]     |
[INFO] [stdout] 147 | ...                   &f_name: &str,
[INFO] [stdout]     |                       ^^^^^^^ pattern not allowed in function without body
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bitflags v0.3.3
[INFO] [stderr]    Compiling xml-rs v0.2.2
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking num-integer v0.1.32
[INFO] [stderr]    Compiling khronos_api v1.0.0
[INFO] [stderr]     Checking num-iter v0.1.32
[INFO] [stderr]    Compiling log v0.3.6
[INFO] [stderr]     Checking shader_version v0.2.1
[INFO] [stderr]    Compiling libz-sys v1.0.2
[INFO] [stderr]    Compiling miniz-sys v0.1.7
[INFO] [stderr]    Compiling void v1.0.1
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling unreachable v0.1.1
[INFO] [stderr]    Compiling freetype-sys v0.3.1
[INFO] [stderr]    Compiling gl_generator v0.4.2
[INFO] [stderr]     Checking deque v0.3.1
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]     Checking num_cpus v0.2.11
[INFO] [stderr]    Compiling glfw-sys v3.1.3
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glfw-sys-3.1.3/build.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 |             .current_dir(&Path::new(env!("OUT_DIR")))
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glfw-sys-3.1.3/build.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |             .current_dir(&Path::new(env!("OUT_DIR")))
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glfw-sys-3.1.3/build.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fs::copy(&Path::new(env!("OUT_DIR")).join("src").join("libglfw3.a"),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glfw-sys-3.1.3/build.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |              &Path::new(env!("OUT_DIR")).join("libglfw3.a"))
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: environment variable `OUT_DIR` not defined at compile time
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glfw-sys-3.1.3/build.rs:40:57
[INFO] [stdout]    |
[INFO] [stdout] 40 |     println!("cargo:rustc-flags=-L {} -l glfw3:static", env!("OUT_DIR"));
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: Cargo sets build script variables at run time. Use `std::env::var("OUT_DIR")` instead
[INFO] [stdout]    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `glfw-sys` (build script) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0642`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1ea871d1c2f26feeb7b523b2239231e43bbe554aba5e0b3dbb02bd79359a451b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ea871d1c2f26feeb7b523b2239231e43bbe554aba5e0b3dbb02bd79359a451b", kill_on_drop: false }`
[INFO] [stdout] 1ea871d1c2f26feeb7b523b2239231e43bbe554aba5e0b3dbb02bd79359a451b
